package cn.com.connext.scrm.service;

import cn.com.connext.scrm.domain.master.MerchantNotifyDetails;
import cn.com.connext.scrm.service.dto.JsonResult;
import cn.com.connext.scrm.web.rest.req.WxBusinessVolumeReq;
import cn.com.connext.scrm.web.rest.req.WxMerchanRollQueryPage;
import com.alibaba.fastjson.JSONObject;

/**
 * @Description:
 * @author: ZHaoYul
 * @date: 2021/9/13 14:35
 */
public interface WxMerchantRollService {
    MerchantNotifyDetails getNotifyObjByCode(String code);

    MerchantNotifyDetails updateNotifyById(MerchantNotifyDetails merchantNotifyDetails1);

    /**
     * 组装商家卷数据
     * @param jsonObject
     */
    void packMerchantData(JSONObject jsonObject);
    /**
     * 新增活修改商家卷数据
     * @param jsonObject
     */
    void saveOrUpdate(JSONObject jsonObject);

    /**
     * 启用商家卷
     * @param req
     * @return
     */
    JsonResult startWxBusinessVolume(WxBusinessVolumeReq req);

    JsonResult page(WxMerchanRollQueryPage req);

    /**
     * 详情
     * @param req
     * @return
     */
    JsonResult details(WxBusinessVolumeReq req);

    /**
     * 删除
     * @param req
     * @return
     */
    JsonResult deleteOne(WxBusinessVolumeReq req);


    JsonResult getNeckRollList(WxMerchanRollQueryPage req);
}
